package fun.sboy.headacheMemo.entry;

import lombok.Data;

import java.util.Date;

@Data
public class TaskTodo {

    /*
    CREATE TABLE `h_task_list` (
      `tl_id` int(11) NOT NULL AUTO_INCREMENT,
      `task_name` varchar(200) NOT NULL COMMENT '任务名称',
      `task_content` text COMMENT '任务内容',
      `percentage` int(11) DEFAULT '0' COMMENT '进度百分比',
      `current_progress` varchar(200) DEFAULT NULL COMMENT '当前进度',
      `state` int(11) DEFAULT '0' COMMENT '任务状态：0未完成 1完成',
      `create_time` datetime DEFAULT CURRENT_TIMESTAMP,
      `update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
      uid int ,
      PRIMARY KEY (`tl_id`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='任务列表';
    */

    private String tlId;
    private String taskName;
    private String taskContent;
    private Integer percentage;
    private String currentProgress;
    private Integer state;
    private Date createTime;
    private Date updateTime;
    private String uid;
}
